package edu.whut.mall.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan(basePackages = {"edu.whut.mall.pojo.mapper","edu.whut.mall.user.mapper"})
@ComponentScan(basePackages = {"edu.whut.mall.user","edu.whut.mall.common","edu.whut.mall.pojo"})
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }

}
